/**
 * 
 */
package com.java.test.datacenter.dto;

import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * @author 账目汇总
 *
 */
public class SumAccountInfo {

	// 账目名称
	private String accountName;
	
	// 笔数
	private int count;
	
	// 人数
	private int numberPeople;
	
	// 共计金额
	private Double totalAmount;
	
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private LocalDateTime startTime;
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private LocalDateTime endTime;
	
	
	
	

	public SumAccountInfo() {
		super();
		// TODO Auto-generated constructor stub
	}

	public SumAccountInfo(String accountName, int count, int numberPeople, Double totalAmount) {
		super();
		this.accountName = accountName;
		this.count = count;
		this.numberPeople = numberPeople;
		this.totalAmount = totalAmount;
	}

	

	

	public LocalDateTime getStartTime() {
		return startTime;
	}

	public void setStartTime(LocalDateTime startTime) {
		this.startTime = startTime;
	}

	public LocalDateTime getEndTime() {
		return endTime;
	}

	public void setEndTime(LocalDateTime endTime) {
		this.endTime = endTime;
	}

	public String getAccountName() {
		return accountName;
	}

	public void setAccountName(String accountName) {
		this.accountName = accountName;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public int getNumberPeople() {
		return numberPeople;
	}

	public void setNumberPeople(int numberPeople) {
		this.numberPeople = numberPeople;
	}

	public Double getTotalAmount() {
		return totalAmount;
	}

	public void setTotalAmount(Double totalAmount) {
		this.totalAmount = totalAmount;
	}
	
	
}
